*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

table,th,td{
    border: 1px solid #ccc;
}
table{
    margin: 100px auto;
    border-collapse: collapse;
}
th,td{
    padding: 0 10px;
    text-align: center;
    height: 38px;
    line-height: 38px;
}
button{
    width: 40px;
}